package com.jzo2o.foundations.task;

import com.xxl.job.core.handler.annotation.XxlJob;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class DemoTask {

    @XxlJob("demoJob")
    public void demo(){
      log.info("刘岩:黑马做的东西就是垃圾啊!");
    }
}
